package com.bjsxt.chapter20_memento;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName CareTaker
 * @Description 负责人类，负责管理备忘录对象
 * @Author 黑马程序员
 * @Date 17:16 2024/6/25
 * @Version 1.0
 **/
public class CareTaker {

    private EmpMemento empMemento;

    //private List<EmpMemento> list = new ArrayList<>();

    public CareTaker() {
    }

    public CareTaker(EmpMemento empMemento) {
        this.empMemento = empMemento;
    }

    public EmpMemento getEmpMemento() {
        return empMemento;
    }

    public void setEmpMemento(EmpMemento empMemento) {
        this.empMemento = empMemento;
    }
}
